AcquireBaseMenuBar
Document Shell
Mac OSThe
AcquireBaseMenuBar
method returns a reference to the base menu bar object.
ODMenuBar AcquireBaseMenuBar ();
- return value
- A reference to the base menu bar object.
DISCUSSION
The document shell calls this method. Your part typically calls this window-state object'sCopyBaseMenuBar
method instead of this method.This method increments the reference count of the returned menu bar. When the caller has finished using that menu bar, it should call the menu bar's
Release
method.SEE ALSO
TheODWindowState::CopyBaseMenuBar
method (page 855).
TheODWindowState::SetBaseMenuBar
method (page 868).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help